
////** Undocumented simpleCalculation
///  *
///  * @param [int] $a 参数一
///  * @param [int] $b 参数二
///  * @param [null] $c 运算符
///  * @return void
///*/
double simpleCalculation(var a, var b, String c) {
  a = a.toDouble();
  b = b.toDouble();
  double munber = 0.0;
  switch (c) {
    case '+':
      munber = a + b;
      break;
    case '-':
      munber = a - b;
      break;
    case '*':
      munber = a * b;
      break;
    case '/':
      munber = a / b;
      break;
    default:
  }
  return munber;
}
